import Vue from 'vue'
import VueRouter from 'vue-router';


import buycar from "./pages/buycar.vue";
import details from "./pages/details.vue";
import select from "./pages/select.vue"


Vue.use(VueRouter);

var routes = [
	{path:'/buy', component:buycar},
	{path:'/details' , component:details},
	{path:'/select',component:select}
]
var router = new VueRouter({routes, mode:'history'});
export default router;